//
//  SaleViewController.m
//  CommodityManager
//
//  Created by lanou3g on 15/5/30.
//  Copyright (c) 2015年 libertyair. All rights reserved.
//

#import "SaleViewController.h"

@interface SaleViewController ()

@end

@implementation SaleViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
  self.navigationItem.title=@"销售管理";
    
    self.view.backgroundColor=[UIColor colorWithPatternImage:[UIImage imageNamed:@"34_bg_denglu"]];
    
    [self barButtonSet];
    
}

-(void)barButtonSet{
    UIBarButtonItem *leftBI=[[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"iconfont-xiangzuo.png"] style:UIBarButtonItemStylePlain target:self action:@selector(returnSaleVC:)];
    self.navigationItem.leftBarButtonItem=leftBI;

}

-(void)returnSaleVC:(UIBarButtonItem *)BI{

    [self.navigationController popViewControllerAnimated:YES];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
